@model IEnumerable<FoxCommerce.MVC.Domain.Entities.Picture>
@{
    ViewBag.Title = "Index";
}
<h2>
    Index</h2>
<p>
    @Html.ActionLink("Create New", "Create")
</p>
<table>
    <tr>
        <th>
        </th>
        <th>
            PictureBinary
        </th>
        <th>
            IsNew
        </th>
        <th>
            MimeType
        </th>
    </tr>
    @foreach (var item in Model)
    {
        <tr>
            <td>
                @Html.ActionLink("Edit", "Edit", new { id = item.ID }) |
                @Html.ActionLink("Details", "Details", new { id = item.ID }) |
                @Html.ActionLink("Delete", "Delete", new { id = item.ID })
            </td>
            <td>
                @Html.DisplayTextFor(_ => item.PictureBinary).ToString()
            </td>
            <td>
                @item.IsNew
            </td>
            <td>
                @item.MimeType
            </td>
        </tr>
    }
</table>
